<template>
    <div>
    <title-bar :title="titleText"/>
      <div class="warapper" :style="{height:deviceHeight}">
        <a class="button" href="http://dotwe.org/raw/dist/a5e3760925ac3b9d68a3aa0cc0298857.bundle.wx">
            <text class="text">{{buttonText}}</text>
        </a>
    </div>
    </div>
</template>
<script>
import TitleBar from "../components/TitleBar";
export default {
  components: {
    TitleBar
  },
  data: {
    titleText: "A标签",
    buttonText: "去百度",
    deviceHeight: weex.config.env.deviceHeight / 2
  }
};
</script>
<style scoped>
.warapper {
  justify-content: center;
  align-items: center;
}
.button {
  width: 350px;
  border-radius: 10px;
  background-color: #3eaf7c;
}
.text {
  font-size: 40px;
  padding: 10px;
  color: #fff;
  text-align: center;
}
</style>


